package com.vtuzx.kingdee.xqc_api.service;

import com.vtuzx.core.VtuzxException;
import com.vtuzx.core.bean.dto.VtuzxFile;
import com.vtuzx.core.bean.dto.VtuzxMap;
import com.vtuzx.web.bean.VtuzxDownloadBean;
import org.bson.types.ObjectId;

import java.util.List;
import java.util.Map;

/**
 * 其他出入库服务
 */
public interface IXqcTestRoomService {


    VtuzxMap getTestRoomList(ObjectId userId, Map<String, Object> param, int pageIndex, int pageSize);

    void testQualified(ObjectId userId, String name, String billNo, String testMode);

    void uploadReport(ObjectId userId, String name, String billNo, List<VtuzxFile> vFileList, String picStr);

    void addPrdProcess(ObjectId userId, String name, Map<String, Object> param);

    void updatePrdProcess(ObjectId userId, String name, Map<String, Object> param, List<VtuzxFile> vFileList);

    void deletePrdProcess(ObjectId userId, String name, Map<String, Object> param);

    VtuzxMap getPrdProcessList(ObjectId userId, String name, Map<String, Object> param, int pageIndex, int pageSize);

    VtuzxMap getPrdProcessListKey(ObjectId userId, String name, String key);

    void addCertificate(ObjectId userId, String name, Map<String, Object> param, List<VtuzxFile> vFileList);

    VtuzxMap getCertificateList(ObjectId userId, String name, Map<String, Object> param);

    void deleteCertificateImg(ObjectId userId, String name, Map<String, Object> param);

    void deleteCertificate(ObjectId userId, String name, Map<String, Object> param);

    VtuzxMap downloadTestRoomList(ObjectId userId, String name, Map<String, Object> param) throws Exception;
}
